package com.noble.library.permission.andPermission;

/**
 * <p>Setting Service.</p>
 * Created by Yan Zhenjie on 2016/12/28.
 *
 * @deprecated use {@link com.yanzhenjie.permission.Setting} instead.
 */
@Deprecated
public interface SettingService {

    /**
     * Execute setting.
     *
     * @deprecated use {@link com.yanzhenjie.permission.Setting#start()} instead.
     */
    @Deprecated
    void execute();

    /**
     * Execute setting with requestCode.
     *
     * @deprecated use {@link com.yanzhenjie.permission.Setting#onComeback(com.yanzhenjie.permission.Setting.Action)} and {@link Setting#start()} instead.
     */
    @Deprecated
    void execute(int requestCode);

    /**
     * Cancel the operation.
     *
     * @deprecated this method has no effect and does not need to be called.
     */
    @Deprecated
    void cancel();
}